package com.openingedu.mba.persist;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "oc_paper_question")
public class DbPaperQuestion {
	@DatabaseField(generatedId = true)
	private Integer id;
	
	@DatabaseField
	private Integer questionID;
	
	@DatabaseField(foreign = true, foreignAutoRefresh = true,columnName="paperID") 
	private DbPaper paper;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getQuestionID() {
		return questionID;
	}

	public void setQuestionID(Integer questionID) {
		this.questionID = questionID;
	}

	public DbPaper getPaper() {
		return paper;
	}

	public void setPaper(DbPaper paper) {
		this.paper = paper;
	}
}
